{% extends "base.html" %}
{% block content %}
{% if user %}
 {% if user.isSocial %}
 {% else %}
  <script type='text/javascript'>window.location.href = '/';</script>
 {% endif %}
{% else %}
To study this set on your favorite social network, please install the AstoundLearning application / gadget.  Once the application is installed, in the "small" view, you will see a text box which you can paste in this URL and click Study.

The AstoundLearning application / gadget is currenly available on:
<p><a href="http://fusion.google.com/add?source=atgs&moduleurl=http%3A//{{host}}/dynamic/social.xml"><img src="http://gmodules.com/ig/images/plus_google.gif" border="0" alt="Add to iGoogle"/></a>.  Click on the button to add this application to your iGoogle homepage.  Once the application / gadget is installed, you still have to add the URL below manually (in the small view).</p>

If you prefer to log into AstoundLearning directly using Google / Gmail account, click <a href='{{loginURL}}'>here</a>.
{% endif %}
{% endblock %}
